/*
package com.dzl.config.exception;

import com.dzl.util.HttpCode;

import lombok.Data;

*/
/**
 * 通用异常处理类
 * @Date 2019/11/28 21:30
 * @Author lishunxing
 * @return
 *//*

@Data
public class TokenException extends RuntimeException{
	*/
/**
	 * 	错误code
	 *//*

	private Integer code;
	*/
/**
	 * 	错误msg
	 *//*

	private String msg;

	public TokenException() {
		super();
	}

	public TokenException(String msg) {
		super(msg);
		this.msg = msg;
	}

	public TokenException(HttpCode httpCode) {
		super(httpCode.getMsg());
		this.code=httpCode.getCode();
		this.msg=httpCode.getMsg();
	}
}
*/
